import { _decorator, Component, Node } from "cc";
import { LoadingUI } from "db://assets/Script/Module/Loading/LoadingUI";
import { gameMole } from "../../GameMole";
const { ccclass, property } = _decorator;

@ccclass("MoleLoadingUI")
export class MoleLoadingUI extends LoadingUI {
    protected init(): void {
        super.init();

        gameMole.start();
    }

    /**
     * 初始化预加载任务
     */
    protected initPreloadTask(): void {
        this.tasks = gameMole.preloadMgr.loadList;
    }
}
